package com.yf.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 群聊实体
 * 表名 msg_group
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Sep 19 10:56:32 CST 2018
 */
@Setter
@Getter
public class MsgGroupEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //ID
    private Long id;
    //IMG-群聊头像
    private String avatar;
    //群聊名字
    private String name;
    //人数
    private Integer number;
    //创建者ID（群主）
    private Long userId;
    //公告
    private String info;

    public MsgGroupEntity(){

    }

    public MsgGroupEntity(Long userId) {
        this.userId = userId;
    }
}
